<html style="height: 100%">
<head><#include "/base/head.html">
</head>
<body style="height: 100%">
	<div style="padding: 10px; height: 95%;">

		<div style="height: 75%">
			<div id="lovToolbar">
				<a href="javascript:void(0)" class="easyui-linkbutton"
					data-options="iconCls:'icon-add',plain:true" onclick="append()">添加</a>
				<a href="javascript:void(0)" class="easyui-linkbutton"
					data-options="iconCls:'icon-remove',plain:true" onclick="removeLov()">删除</a>
			</div>

			<div id="lovFormDlg" class="easyui-dialog" title="lov新增"
				data-options="iconCls:'icon-add',closed: true"
				style="width: 400px; height: 400px; padding: 10px; text-align: center;">
				<!-- 弹出框用来增加和编辑-->
				<form id="lovFormEdit" method="post">
					<table align="center" cellpadding="8">
						<tr>
							<td>lov名字</td>
							<td>
								<div>
									<input class="easyui-textbox" type="text" name="text" />
								</div>
							</td>
						</tr>
						<tr>
							<td>lovurl</td>
							<td>
								<div>
									<input class="easyui-textbox" type="text" name="url" />
								</div>
							</td>
						</tr>
						<tr>
							<td>父lovID</td>
							<td>
								<div>
									<input class="easyui-textbox" type="text" name="parentId" />
								</div>
							</td>
						</tr>
					</table>
					<input type="hidden" name="id">
				</form>

				<div style="text-align: center; margin: 10px">
					<a id="lovSubmitEdit" href="javascript:void(0)"
						class="easyui-linkbutton mediumButton">确定</a>
					&nbsp;
					<a href="javascript:void(0)" class="easyui-linkbutton mediumButton"
						onclick=" $('#lovFormDlg').dialog('close');">取消</a>
				</div>
			</div>
			<table id="lovGrid" toolbar="#lovToolbar" class="easyui-datagrid" title="lov显示"
				style="width: 100%; height: 100%;"
				data-options="singleSelect:true,method:'post',fitColumns : true">
				<thead>
					<tr>
						<th data-options="field:'id',width:50,align:'center'">id</th>
						<th data-options="field:'lovName',width:50,align:'center',editor:'textbox'">标题名</th>
						<th data-options="field:'url',width:100,align:'center',editor:'textbox'">创建时间</th>
						<th data-options="field:'sqlid',width:100,align:'center',editor:'textbox'">sqlID</th>
						<th data-options="field:'textField',width:100,align:'center',editor:'textbox'">textField</th>
						<th data-options="field:'valueField',width:100,align:'center',editor:'textbox'">valueField</th>
						<th data-options="field:'edit',width:100,align:'center'">操作</th>
					</tr>
				</thead>
			</table>
		</div>
 
 
	</div>
</body>
</html>